package com.sky.agent.controller;

import com.sky.agent.service.FileTypeService;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;
import java.util.Map;

@RequestMapping("/file")
@RestController
public class FileTypeController {

    @Resource
    private FileTypeService fileTypeService;

    @GetMapping("/getFileTypeList")
    public Map getFileTypeList(){
        return fileTypeService.getFileTypeList();
    }


}
